import request from '@/utils/request'

// 查询水厂生产报列表
export function listDispatchWaterworksProduce(query) {
  return request({
    url: '/dispatch/system/dispatchWaterworksProduce/list',
    method: 'get',
    params: query
  })
}

// 查询水厂生产报详细
export function getDispatchWaterworksProduce(waterworksProduceId) {
  return request({
    url: '/dispatch/system/dispatchWaterworksProduce/' + waterworksProduceId,
    method: 'get'
  })
}

// 新增水厂生产报
export function addDispatchWaterworksProduce(data) {
  return request({
    url: '/dispatch/system/dispatchWaterworksProduce',
    method: 'post',
    data: data
  })
}

// 修改水厂生产报
export function updateDispatchWaterworksProduce(data) {
  return request({
    url: '/dispatch/system/dispatchWaterworksProduce',
    method: 'put',
    data: data
  })
}

// 删除水厂生产报
export function delDispatchWaterworksProduce(waterworksProduceId) {
  return request({
    url: '/dispatch/system/dispatchWaterworksProduce/' + waterworksProduceId,
    method: 'delete'
  })
}
